home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / inet / internet-drafts / draft-nussbacher-mime-direction-01.txt < prev    next >
Text File  |  1993-08-26  |  6KB  |  153 lines

  1.  
  2. INTERNET-DRAFT
  3. Network Working Group                                      H. Nussbacher
  4. Request for Comments: nnnn                      Israeli Inter-University
  5.                                                          Computer Center
  6.                                                              August 1993
  7.  
  8.  
  9.              Handling of Bi-directional Texts in MIME
  10.  
  11.  
  12.      This document is an Internet-Draft.  Internet-Drafts are
  13.      working documents of the Internet Engineering Task Force
  14.      (IETF), its Areas, and its Working Groups.  Note that other
  15.      groups may also distribute working documents as
  16.      Internet-Drafts.
  17.  
  18.      Internet-Drafts are draft documents valid for a maximum of six
  19.      months.  Internet-Drafts may be updated, replaced, or obsoleted
  20.      by other documents at any time.  It is not appropriate to use
  21.      Internet-Drafts as reference material or to cite them other
  22.      than as a ``working draft'' or ``work in progress.''
  23.  
  24.      To learn the current status of any Internet-Draft, please check
  25.      the 1id-abstracts.txt listing contained in the Internet-Drafts
  26.      Shadow Directories on ds.internic.net, nic.nordu.net,
  27.      ftp.nisc.sri.com, or munnari.oz.au.
  28.  
  29. Status of this Memo
  30.  
  31.    This memo provides information for the Internet community.  It does
  32.    not specify an Internet standard.  Distribution of this memo is
  33.    unlimited.
  34.  
  35. Abstract
  36.  
  37.    This document describes the format and syntax of the "direction"
  38.    keyword to be used with bi-directional texts in MIME.
  39.  
  40. Description
  41.  
  42.    The MIME standards (RFC 1341 and 1342) defined methods for
  43.    transporting non-ASCII data via a standard RFC822 e-mail
  44.    system. Specifically, the Content-type field allows for
  45.    the inclusion of any ISO language such as Arabic (ISO-8859-6)
  46.    or Hebrew (ISO-8859-8).  The problem is that the these two
  47.    languages are read from right to left and can have bi-directional
  48.    data such as mixed Hebrew and English on the same line.
  49.  
  50. Nussbacher                   Expires January 15, 1994          [Page 1]
  51.  
  52. INTERNET-DRAFT          Hebrew email encodings                June 1993
  53.  
  54.    Fortunately, ECMA (European Computer Manufacturers Association)
  55.    has tackled this problem previously and has issued a technical
  56.    report called "Handling of Bi-Directional Texts".  ECMA TR/53,
  57.    as it is called, was used to update the Standard ECMA-48 which
  58.    in turn was used as the basis for ISO/IEC 6429 which was adopted
  59.    under a special "fast track procedure". It is based on this
  60.    information that a new parameter is being defined for MIME
  61.    Content-type. This new field is called "direction=":
  62.  
  63.    Content-type: text/plain; charset=ISO-8859-6; direction=drct
  64.    or
  65.    Content-type: text/plain; charset=ISO-8859-8; direction=drct
  66.  
  67.    This new Content-type parameter is valid only for "text/plain".
  68.    The value of drct can be either implicit, explicit or visual.
  69.  
  70. Implicit
  71.  
  72.    Implicit directionality is a presentation method in which the
  73.    direction is determined by an algorithm according to the type
  74.    of characters and their position relative to the adjacent
  75.    characters and according to their primary direction.   The
  76.    complete algorithm is quite complex and sites wishing to
  77.    implement it should refer to the ECMA Technical Report for
  78.    further details.
  79.  
  80. Explicit
  81.  
  82.    Explicit directionality is a presentation method in which the
  83.    direction is explicitly defined by using control sequences which
  84.    are interleaved within the text and are used for direction
  85.    determination.  This presentation method is also defined in
  86.    ECMA TR/53, which defines three new control functions and
  87.    updates 22 existing control functions in the ECMA-48 standard.
  88.  
  89. Visual
  90.  
  91.    Visual directionality is a presentation method that displays
  92.    text according to the primary display direction only, which is left
  93.    to right.  All text is viewed in the same direction which is
  94.    the primary display direction.  The displaying application is not
  95.    aware of the contents direction and displays the text as if it
  96.    were a uni-directional text.  The composing application needs to
  97.    prepare the text in such a way that it will be displayed correctly.
  98.    No control characters or algorithms are used to determine how the
  99.    data is to be displayed. This is the simplest of all methods and the
  100.    default method for use with MIME encoded texts.
  101.  
  102. Nussbacher                   Expires January 15, 1994          [Page 2]
  103.  
  104. INTERNET-DRAFT          Hebrew email encodings                June 1993
  105.  
  106. References
  107.  
  108.    [ECMA TR/53] Handling of Bi-Directional Texts, European Computer
  109.    Manufacturers Association, 114 Rue du Rhone, CH-1204, Geneva,
  110.    Switzerland, June 1992
  111.  
  112.    [ISO-6429] Information Technology - Control Functions for Coded
  113.    Character Sets, 3rd edition, December 15, 1992.
  114.  
  115.    [ISO-8859] Information Processing -- 8-bit Single-Byte Coded
  116.    Graphic Character Sets, Part 6: Arabic alphabet, ISO 8859-6,
  117.    1988.
  118.  
  119.    [ISO-8859] Information Processing -- 8-bit Single-Byte Coded
  120.    Graphic Character Sets, Part 8: Latin/Hebrew alphabet, ISO 8859-8,
  121.    1988.
  122.  
  123.    [RFC822] Crocker, D., "Standard for the Format of ARPA Internet
  124.    Text Messages", STD 11, RFC 822, UDEL, August 1982.
  125.  
  126.    [RFC1341] Borenstein N., and N. Freed, "MIME (Multipurpose
  127.    Internet Mail Extensions): Mechanisms for Specifying and
  128.    Describing the Format of Internet Message Bodies", Bellcore,
  129.    Innosoft, June 1992.
  130.  
  131.    [RFC1342] Moore K., "Representation of Non-ASCII Text in Internet
  132.    Message Headers", University of Tennessee, June 1992.
  133.  
  134. Security Considerations
  135.  
  136.    Security issues are not discussed in this memo.
  137.  
  138. Authors' Addresses
  139.  
  140.    Hank Nussbacher
  141.    Computer Center
  142.    Tel Aviv University
  143.    Ramat Aviv
  144.    Israel
  145.  
  146.    Fax: +972 3 6409118
  147.    Phone: +972 3 6408309
  148.    EMail: hank@vm.tau.ac.il
  149.  
  150.  
  151.  
  152. Nussbacher                   Expires January 15, 1994          [Page 3]
  153.